﻿using System;

namespace whu2020302051098.Model{
    public class Student{
        public String No {
            get;
            set;
        }
        public String Name {
            get;
            set;
        }
        public String SchNo {
            get;
            set;
        }
        public String Sex {
            get;
            set;
        }
        public String Time { get; set; }

        public String Workplace { get; set; }

        public Student(string no, string name, string schNo, string sex, string time,string workplace) {
            this.No = no;
            this.Name = name;
            this.SchNo = schNo;
            this.Sex = sex;
            this.Time = time;
            this.Workplace = workplace;
        }



        public override string ToString(){
            return "{" + No + " " + Name + " " + SchNo + " " + Sex + " " + Time + " " + Workplace + "}";
        }
    }
}